home *** CD-ROM | disk | FTP | other *** search
- Path: news.smartlink.net!usenet
- From: The Nameless One <hopkins@smartlink.net>
- Newsgroups: comp.lang.c++
- Subject: How to copy from DPMI-32 to DOS Ram?
- Date: 4 Mar 1996 01:03:35 GMT
- Organization: SmartLink.net Premier ISP 805-294-1273
- Message-ID: <4hdfh7$bhp@frodo.smartlink.net>
- NNTP-Posting-Host: pm151-53.smartlink.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
-
-
- I wrote a Sprite & Graphics Library, and everything works fine in
- standard DOS mode... But when I compile it as a 32bit DPMI file it gives
- me a GP Fault error and says that my program does not own address A00000!
-
- I need to know how to tell the DPMI host that I own the DOS Video Ram
- (64k at A000:0000), or just how to copy from a 64k buffer above one meg
- into the Video Ram at A00000 (below 1meg).
-
- BTW, I am using Borland PowerPak for DOS and Borland C++ 4.52.
- Borland's routines don't work -- the one gives you an array and runs
- SLOWER than its standard DOS counterpart, the other which is SUPPOSED to
- give you a pointer does not compile!!! It runs TASM32 and comes back with
- an "Unknown Assembly Instruction" error. Typical Borland Half-Assed-ness!
-
- Please EMail your response to hopkins@smartlink.net because I only check
- NewsGroups once or twice a month and this group seems pretty popular.
- Thanks!
-
-
-
-
-